//
//  HCLNavigationController.m
//  gifts
//
//  Created by hcl on 16/5/3.
//  Copyright © 2016年 hclong. All rights reserved.
//

#import "HCLNavigationController.h"
#import "HCLSelectedController.h"
@interface HCLNavigationController ()

@end

@implementation HCLNavigationController
-(UIInterfaceOrientationMask)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskLandscape
    ;
    
}


//是否支持屏幕旋转
- (BOOL)shouldAutorotate
{
    return  YES;
    
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{

    return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    HCLSelectedController *vc = [[HCLSelectedController alloc]init];
  
    
    [self initWithRootViewController:vc];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
